

//TODO a(55)
function a55(module, exports, a) {
    var i = a(23), s = a(3), r = a(21), n = (a(2), function (e) {
        this.contDom = e.dom.cont, this.parentEl = e.dom.parentEl, this.coreVideo = e.coreVideo
    });
    s.extend(n, i);
    var o = {
        init: function () {
            this.playerData = this.manager.playerData, this.nodes = {nextVideoBtn: this.parentEl.find(".hv_ico_next")}, this.manager.evt.on("vjs_vinfoReady", function () {
                this.playerData.vinfo.nextvid && this.nodes.nextVideoBtn.removeClass("gray")
            }, this), this.manager.listener.on(r.PLAY_STATE, function (e, t) {
                "init" == t && this.nodes.nextVideoBtn.addClass("gray")
            }, this), "PC" == this.playerData.interactiveType ? this.nodes.nextVideoBtn.on("click", this.onNextVideoBtnClick, this) : this.nodes.nextVideoBtn.on("touchend", this.onNextVideoBtnClick, this), this.addEvent()
        }, addEvent: function () {
            "base" == this.playerData.tplType && this.manager.evt.on(r.EVENT.RESIZE, this.onResize, this)
        }, onResize: function () {
            this.nodes.nextVideoBtn[0].style.display = "1" == this.playerData.config.nextBtn && this.contDom.width() > 410 ? "block" : "none"
        }, onNextVideoBtnClick: function () {
            this.nodes.nextVideoBtn.hasClass("gray") || this.manager.evt.trigger(r.EVENT.PLAYER_COMMAND, "playNext", !0)
        }
    };
    s.merge(n.prototype, o), module.exports = n
}
